Julia is a high-level, high-performance dynamic language for technicalcomputing. The main homepage for Julia can be found atjulialang.org. This is the GitHubrepository of Julia source code, including instructions for compilingand installing Julia, below.
New developers may find the notes inCONTRIBUTINGhelpful to start contributing to the Julia codebase.
If you would rather not compile the latest Julia from source,platform-specific tarballs with pre-compiled binaries are alsoavailable for download. Thedownloads page also provides details on thedifferent tiers of supportfor OS and platform combinations.
If everything works correctly, you will see a Julia banner and aninteractive prompt into which you can enter expressions forevaluation. You can read about gettingstarted in the manual.
Note: Although some system package managers provide Julia, suchinstallations are neither maintained nor endorsed by the Juliaproject. They may be outdated, broken and/or unmaintained. Werecommend you use the official Julia binaries instead.
First, make sure you have all the requireddependencies installed.Then, acquire the source code by cloning the git repository:
git clone git://github.com/JuliaLang/julia.git
By default you will be building the latest unstable version ofJulia. However, most users should use the most recent stable versionof Julia. You can get this version by changing to the Julia directoryand running:
git checkout v1.3.0
make to build the
Building Julia requires 2GiB of disk space and approximately 4GiB of virtual memory.
Note: The build process will fail badly if any of the build directory's parent directories have spaces or other shell meta-characters such as
: in their names (this is due to a limitation in GNU make).
Once it is built, you can run the
julia executable after you enter your julia directory and run
Your first test of Julia determines whether your build is workingproperly. From the UNIX/Windows command prompt inside the
juliasource directory, type
make testall. You should see output thatlists a series of running tests; if they complete without error, youshould be in good shape to start using Julia.
You can read about gettingstartedin the manual.
In case this default build path did not work, detailed build instructionsare included in the build documentation.
Julia does not install anything outside the directory it was clonedinto. Julia can be completely uninstalled by deleting thisdirectory. Julia packages are installed in
~/.julia by default, andcan be uninstalled by deleting
The Julia source code is organized as follows:
base/ source code for the Base module (part of Julia's standard library)stdlib/ source code for other standard library packagescontrib/ editor support for Julia source, miscellaneous scriptsdeps/ external dependenciesdoc/src/manual source for the user manualdoc/build detailed notes for building Juliasrc/ source for Julia language coretest/ test suitesui/ source for various front endsusr/ binaries and shared libraries loaded by Julia's standard libraries
The Julia REPL is quite powerful. See the section in the manual onthe Julia REPLfor more details.
git clone JuliaLang-julia_-_2020-03-26_09-18-32.bundle